package com.xiaotu.builder;

import java.util.AbstractQueue;

/**
 * @author 张晓
 * @create 2020-06-20 11:00
 */
public abstract class AbstractHouse {
    //打地基
    public abstract void buildBasic();
    //砌墙
    public abstract void buildWalls();
    //封顶
    public abstract void roofed();

    public void build(){
        buildBasic();
        buildWalls();
        roofed();
    }
}
